package cn.collection.generics;

public class Demo02 {
    public static void main(String[] args) {
        MyArrayList<String> myList = new MyArrayList<>();
        for (int i = 0; i < 5; i++) {
            myList.add("hello");
            System.out.println(myList);
        }
    }
}
